html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
html {
    font-family: Tahoma,Helvetica,"Hiragino Sans GB",sans-serif;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    color: #222222;
    background-color: #fafafa;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
select,
input[type="text"] {
    outline: none;
}
a, a:link, a:visited {
    color: #49a300;
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: underline;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* IE fix */
img, div, ul.tabs { behavior: url("/static/css/iepngfix.htc") }

/* header */

#header {
    height: 78px;
    background: url("../img/bg_header.png") repeat-x scroll 0 0 #fafafa;
}

#header a {
    color: #fff;
}

#header div.wrapper {
    height: 78px;
    margin: 0 auto;
    width: 960px;
    position: relative;
}

#logo {
    float: left;
    width: 164px;
    height: 64px;
    margin-top: 6px;
}

#logo a {
    display: block;
    width: 175px;
    height: 58px;
    text-decoration: none;
}

#logo span {
    display: none;
}

#nav_bar {
    float: left;
    margin: 35px 0 0 50px;
    font-size: 17px;
    height: 20px;
}

#nav_bar li {
    display: inline;
    margin-right: 40px;
}

#note_count {
    color: #fff;
    font-size: 11px;
    margin-left: 2px;
    padding: 1px 5px;
    border-radius: 30px 30px 30px 30px;
    background-color: #EC6C26;
    border: 2px solid #fff;
    vertical-align: top;
}

#search_bar {
    float: right;
    margin-top: 26px;
}

#search_bar li.item {
    float: right;
    margin-left: 5px;
}

#search_bar a {
    font-size: 14px;
}

#search_bar a.signup {
    float: left;
    line-height: 16px;
    margin: 7px 10px 0 0;
}

#search_bar a.signin, #search_bar a.iphone {
    float: left;
    line-height: 16px;
    margin: 7px 10px 0 0;
}

#search_bar a.user {
    float: left;
    text-decoration: none;
    padding: 1px 6px;
}

#search_bar a.hover {
    border-radius: 3px 3px 0 0;
    background-color: #a7cc6e;
    color: #fff;
}

#search_bar a.hover span.dropdown em {
    background: none repeat scroll 0 0 #fff;
}

#search_bar a.user img {
    float: left;
    padding-top: 2px;
}

#search_bar a.user span.dropdown {
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    width: 7px;
    height: 4px;
    padding: 13px 0 7px 14px;
}

span.dropdown em {
    background: none repeat scroll 0 0 #fff;
    display: block;
    height: 1px;
    overflow: hidden;
}

span.dropdown em.b2 {
    margin: 0 1px;
}

span.dropdown em.b3 {
    margin: 0 2px;
}

span.dropdown em.b4 {
    margin: 0 3px;
}

#user_dropdown {
    display: none;
    background-color: #a7cc6e;
    border-radius: 0 0 3px 3px;
    position: absolute;
    left: 640px;
    top: 57px;
    -moz-box-shadow: 2px 2px 2px #bbb;
    border: 1px solid #84B833;
    z-index: 999;
}

#user_dropdown li.border {
    border-top: 1px solid #84B833;
}

#user_dropdown li:hover {
    background-color: #9cc55b;
}

#user_dropdown a {
    display: block;
    width: 92px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
}

#search_bar a.user span {
    float: left;
    padding: 7px 0 8px 6px;
}

#search_bar form {
    width: 182px;
    height: 27px;
    margin-top: 1px;
    position: relative;
    border-radius: 3px 3px 3px 3px;
    background: none repeat scroll 0 0 #fff;
}

#search_bar input.q {
    margin: 4px 0 0 4px;
    width: 150px;
    border: 0;
    font-size: 14px;
}

#search_bar input.btn {
    text-indent: -999em;
    position: absolute;
    right: 5px;
    top: 6px;
    width: 15px;
    height: 15px;
    border: 0;
    cursor: pointer;
    background: url("../img/btn_search.png") repeat-x scroll 0 0 #4c6b7e;
}

.placeholder {
    color: #a8a8a8
}

::-webkit-input-placeholder {
    color: #a8a8a8
}

:-moz-placeholder {
    color: #a8a8a8
}

/* content */

#content {
    margin: 25px auto;
    width: 860px;
    min-height: 300px;
    background-color: #fff;
    border-radius: 5px 5px 5px 5px;
    padding: 50px;
    box-shadow: 0px 1px 2px #ccc;
}

#wrapper {
    margin: 25px auto;
    width: 960px;
}

#wide-wrapper {
    margin: 25px auto;
    width: 100%;
}

h2 {
    color: #49a300;
    font-size: 20px;
}

ul.tabs {
    clear: both;
    overflow: hidden;
    background: url("../img/bg_tabs.png") repeat-x scroll left bottom;
}

ul.tabs li {
    float: left;
    padding: 10px 15px;
    font-size: 20px;
    border-bottom: 3px solid #e5e5e5;
}

ul.tabs li.active {
    border-bottom: 3px solid #49a300;
    background: url("../img/bg_active_tab.png") no-repeat scroll center bottom;
}

ul.tabs li.active a {
    color: #49a300;
}

ul.tabs li a {
    text-decoration: none;
}

#trips li, #feeds li.feed {
    padding: 15px;
    width: 580px;
    clear: both;
    overflow: hidden;
    border-bottom: 1px dashed #e5e5e5;
}

#trips div.user, #feeds div.user {
    float: left;
    width: 70px;
    margin-right: 5px;
}

#trips div.user a.name, #feeds div.user a.name {
    display: block;
    font-size: 14px;
    text-align: center;
    margin-top: 2px;
    line-height: 18px;
}

#trips div.stats, #feeds div.stats {
    float: left;
    width: 405px;
    margin-right: 15px;
}

#trips.hot div.stats {
    width: 500px;
    margin-right: 0;
}

#trips.hot a.cover {
    display: block;
    margin: 15px 0;
}

#trips a.cover {
    float: left;
}

#trips.hot a.name {
    font-size: 18px;
}

#trips div.stats a.name, #feeds div.stats a.name {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 21px;
}

#trips div.stats a.name img, #feeds div.stats a.name img {
    margin-left: 10px;
    vertical-align: middle;
}

p.info {
    color: #aaa;
    margin-top: 5px;
    font-size: 14px;
    line-height: 20px;
}

span.city_list {
    color: #71B10E;
}

p.description {
    color: #7e7e7e;
    margin-top: 10px;
    font-size: 14px;
    line-height: 20px;
}

div.trip_status {
    clear: both;
    margin-top: 16px;
    font-size: 12px;
    color: #ccc;
    line-height: 18px;
}

div.trip_status a {
    color: #ccc;
    display: inline-block;
    vertical-align: baseline;
}

div.trip_status span.time {
    margin-right: 10px;
}

div.trip_status span.waypoint {
    background: url("../img/footprint.png") no-repeat scroll 0 0 transparent;
    padding-left: 12px;
    padding-right: 10px;
}

div.trip_status span.bookmark {
    background: url("../img/bookmark.png") no-repeat scroll 0 0 transparent;
    padding-left: 16px;
}

a.photo img, a.comment img, a.like img {
    margin-right: 2px;
}

div.avatar_m {
    width: 52px;
    height: 52px;
    padding: 3px;
    background: url("../img/bg_avatar_m.png") no-repeat scroll 0 0;
}

div.item_stats {
    margin-top: 12px;
    font-size: 12px;
    line-height: 18px;
    color: #b2b2b2;
}

div.item_stats a {
    color: #b2b2b2;
    display: inline-block;
    vertical-align: baseline;
}

div.item_stats a.position {
    background: url("../img/position.png") no-repeat scroll 0 0 transparent;
    padding-left: 13px;
    margin-right: 10px;
}

a.comment {
    background: url("../img/comment.png") no-repeat scroll 0 2px transparent;
    padding-left: 17px;
    margin-right: 10px;
}

a.like {
    background: url("../img/like.png") no-repeat scroll 0 0 transparent;
    padding-left: 13px;
}

div.item_stats .device {
    margin: 0 10px 0 5px;
}

#ajax_indicator {
    display: none;
    position: absolute;
    left: 430px;
    top: 320px;
}

/* -- style map popup -- */

#overlayEffect {
    display: none;
    position: fixed;
    opacity: 0.7;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: -moz-linear-gradient(rgba(11,11,11,0.1), rgba(11,11,11,0.6)) repeat-x rgba(11,11,11,0.2);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(11,11,11,0.1)), to(rgba(11,11,11,0.6))) repeat-x rgba(11,11,11,0.2);
    z-index: 1;
}

#popupContainer {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 700px;
    height: 450px;
    border: 8px solid #FFFFFF;
    box-shadow: 0 1px 5px black;
    background-color: #fff;
    padding: 2px;
    z-index: 2;
}

#map_popup {
    width: 100%;
    height: 100%;
}

.hidden { display: none; }

#close {
    background: url('../img/close_popup.png') no-repeat center center;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: fixed;
    z-index: 3200;
    position: absolute;
    top: -22px;
    right: -22px;
}

/* -- style waypoint replies -- */

div.reply_wrapper {
    width: 515px;
}

div.arrow_indicator {
    width: 100%;
    height: 12px;
    margin-top: 10px;
    background: url('../img/arrow_indicator.png') no-repeat 30px 0;
}

div.like {
    background-color: #ebf0e7;
    margin-bottom: 2px;
    padding: 10px;
    position: relative;
}

p.like_title {
    font-size: 14px;
    color: #666;
    padding-top: 4px;
}

ul.like_avatars {
    overflow: hidden;
    padding-top: 8px;
    margin-top: 10px;
    border-top: 1px dashed #bed2af;
}

ul.like_avatars li {
    float: left;
    margin-right: 5px;
}

ul.comments {
    overflow: hidden;
    background-color: #ebf0e7;
}

ul.comments li {
    overflow: hidden;
    padding: 10px;
    border-bottom: 1px dashed #bed2af;
}

ul.comments a.avatar {
    float: left;
    width: 36px;
    height: 36px;
    margin-right: 7px;
}

ul.comments div.content {
    float: left;
    width: 440px;
}

div.name_time {
    overflow: hidden;
}

div.name_time span {
    float: right;
    color: #aaa;
    font-size: 13px;
    margin-top: 1px;
}

ul.comments div.name_time a {
    float: left;
    display: block;
    margin-bottom: 4px;
}

ul.comments div.text {
    overflow: hidden;
}

ul.comments div.text p.reply {
    clear: both;
    float: left;
    width: 410px;
    line-height: 18px;
}

ul.comments div.text a.reply {
    float: right;
    font-size: 13px;
    margin-top: 3px;
}

a.avatar img {
    border-radius: 3px 3px 3px 3px;
}

a.btn_like {
    position: absolute;
    left: 450px;
    top: 9px;
    width: 54px;
    padding: 5px 0;
    text-align: center;
    background-color: #71b10e;
    color: #fff;
    cursor: pointer;
    border-radius: 3px 3px 3px 3px;
    font-size: 13px;
    text-decoration: none;
}

a.btn_like:hover, a.btn_comment:hover {
    background-color: #82ce0c;
}

form.comment {
    background-color: #ebf0e7;
    padding: 20px 10px;
    position: relative;
}

form.comment img.ajax_loader {
    display: none;
    position: absolute;
    top: 25px;
    left: 547px;
}

form.comment input {
    border: 1px solid #aaa;
    border-radius: 3px 3px 3px 3px;
    width: 420px;
    padding: 5px;
    font-size: 13px;
    margin-right: 4px;
}

a.btn_comment {
    padding: 5px 14px;
    text-align: center;
    background-color: #71b10e;
    color: #fff;
    cursor: pointer;
    border-radius: 3px 3px 3px 3px;
    font-size: 13px;
    text-decoration: none;
}

div.like img.ajax_loader {
    display: none;
    position: absolute;
    top: 12px;
    left: 547px;
}

/* footer */

#footer {
    clear: both;
    font-size: 13px;
    color: #afafaf;
    text-align: center;
    padding: 20px 0 40px 0;
    width: 100%;
}

#footer a {
    color: #afafaf;
}

#footer ul.copyright li {
    margin-right: 5px;
}

#footer ul.menu {
    margin-bottom: 10px;
}

#footer li {
    display: inline;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

#footer ul.menu li a {
    padding: 2px 10px 2px 0;
}

/* paging */
div.paging {
    padding-top: 30px;
    text-align: center;
    line-height: 35px;
}

div.paging a, div.paging span {
    margin: 0 1px;
    padding: 2px 12px;
    background-color: #EBF0E7;
}

div.paging span {
    color: #aaa;
}

/* buttons */
.custom-button {
    cursor: pointer;
    text-decoration: none;
}

.custom-button .icon {
    float: left;
}

.custom-button .button,
.custom-button button,
.custom-button input[type="submit"] {
    float: left;
    padding: 0;
    cursor: pointer;
    border: none;
    font-size: 16px;
    font-family: Tahoma,Helvetica,"Hiragino Sans GB",sans-serif;
    background: transparent;
    color: #ffffff;
    text-shadow: 1px 1px 1px #898989;
    height: 100%;
    text-decoration: none;
}

.custom-button:hover .button,
.custom-button:hover input[type="submit"] {
    text-shadow: 1px 1px 1px #666666;
}

.green-btn .left {
    float: left;
    height: 33px;
    width: 3px;
    background: url("../img/green_btn_left_default.png") no-repeat;
}

.green-btn .middle {
    float: left;
    height: 33px;
    background: url("../img/green_btn_middle_default.png") repeat-x;
    line-height: 33px;
    color: #ffffff;
    padding: 0 5px;
    text-shadow: 1px 1px 1px #898989;
    text-align: center;
}

.green-btn .right {
    float: left;
    height: 33px;
    width: 3px;
    background: url("../img/green_btn_right_default.png") no-repeat;
}

.green-btn:hover .left {
    background: url("../img/green_btn_left_highlight.png") no-repeat;
}

.green-btn:hover .middle {
    background: url("../img/green_btn_middle_highlight.png") repeat-x;
    text-shadow: 1px 1px 1px #666666;
}

.green-btn:hover .right {
    background: url("../img/green_btn_right_highlight.png") no-repeat;
}

.green-high-btn .left {
    float: left;
    height: 37px;
    width: 4px;
    background: url("../img/high_btn_sides.png") no-repeat 0 0;
}

.green-high-btn .middle {
    float: left;
    height: 37px;
    background: url("../img/green_high_btn_middle_default.png") repeat-x;
    line-height: 37px;
    color: #ffffff;
    text-shadow: 1px 1px 1px #898989;
    padding: 0 5px;
    text-align: center;
}
.green-high-btn .right {
    float: left;
    height: 37px;
    width: 4px;
    background: url("../img/high_btn_sides.png") no-repeat -4px 0;
}

.green-high-btn:hover .left {
    float: left;
    height: 37px;
    width: 4px;
    background: url("../img/high_btn_sides.png") no-repeat -8px 0;
}

.green-high-btn:hover .middle {
    float: left;
    height: 37px;
    background: url("../img/green_high_btn_middle_highlight.png") repeat-x;
    line-height: 37px;
    color: #ffffff;
    text-shadow: 1px 1px 1px #666666;
    padding: 0 5px;
    text-align: center;
}
.green-high-btn:hover .right {
    float: left;
    height: 37px;
    width: 4px;
    background: url("../img/high_btn_sides.png") no-repeat -12px 0;
}

.orange-high-btn .left {
    float: left;
    height: 37px;
    width: 4px;
    background: url("../img/high_btn_sides.png") no-repeat -16px 0;
}

.orange-high-btn .middle {
    float: left;
    height: 37px;
    background: url("../img/orange_high_btn_middle_default.png") repeat-x;
    line-height: 37px;
    color: #ffffff;
    text-shadow: 1px 1px 1px #898989;
    padding: 0 5px;
    text-align: center;
}
.orange-high-btn .right {
    float: left;
    height: 37px;
    width: 4px;
    background: url("../img/high_btn_sides.png") no-repeat -20px 0;
}

.orange-high-btn:hover .left {
    float: left;
    height: 37px;
    width: 4px;
    background: url("../img/high_btn_sides.png") no-repeat -24px 0;
}

.orange-high-btn:hover .middle {
    float: left;
    height: 37px;
    background: url("../img/orange_high_btn_middle_highlight.png") repeat-x;
    line-height: 37px;
    color: #ffffff;
    text-shadow: 1px 1px 1px #666666;
    padding: 0 5px;
    text-align: center;
}
.orange-high-btn:hover .right {
    float: left;
    height: 37px;
    width: 4px;
    background: url("../img/high_btn_sides.png") no-repeat -28px 0;
}

.darkgreen-btn .left {
    float: left;
    height: 32px;
    width: 3px;
    background: url("../img/darkgreen_btn.png") no-repeat;
}

.darkgreen-btn .middle {
    float: left;
    height: 32px;
    background: url("../img/darkgreen_btn.png") repeat-x 0 -32px;
    line-height: 33px;
    color: #ffffff;
    padding: 0 5px;
    text-shadow: 1px 1px 1px #898989;
    text-align: center;
}

.darkgreen-btn .right {
    float: left;
    height: 32px;
    width: 3px;
    background: url("../img/darkgreen_btn.png") no-repeat -3px 0;
}

.darkgreen-btn:hover .left {
    background: url("../img/darkgreen_btn.png") no-repeat -6px 0;
}

.darkgreen-btn:hover .middle {
    background: url("../img/darkgreen_btn.png") repeat-x 0 -64px;
    text-shadow: 1px 1px 1px #666666;
}

.darkgreen-btn:hover .right {
    background: url("../img/darkgreen_btn.png") no-repeat -9px 0;
}
